#ifndef QDEVICEDIALOG_H
#define QDEVICEDIALOG_H

#include "../libs/device/qbasedefine.h"
#include "../libs/core/qbasedialog.h"

#include <QDialog>

class QDeviceView;

class QDeviceDialog : public QBaseDialog
{
    Q_OBJECT
public:
    explicit QDeviceDialog(const QMap<int,QString> &enabled,QWidget *parent = 0);
    tagDeviceInfo get_device();
signals:
protected slots:
    void    device_select(tagDeviceInfo* info);
protected:
    QDeviceView     *m_device_view;
    tagDeviceInfo   m_device_info;
};

#endif // QDEVICEDIALOG_H
